﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{
    public class Sys_PushMessage
    {
        [Property("Key")]
        public string ID { get; set; }
        /// <summary>
        /// 推送内容
        /// </summary>
        public string PushContent { get; set; }
        /// <summary>
        /// 推送时间
        /// </summary>
        public string PushDateString
        {
            get
            {
                return PushDate.ToString("yyyy-MM-dd HH:mm:ss");
            }
        }
        public DateTime PushDate { get; set; }
        /// <summary>
        /// 接收人ID
        /// </summary>
        public int ReciveUserId { get; set; }
        /// <summary>
        /// 是否已读  0：末读  1：已读
        /// </summary>
        public int IsRead { get; set; }
    }
}
